// pages/ruzhu/index/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    channel: [
      { url: "/pages/ruzhu/teacher/index?parent_id=124", id: '1', icon_url: '/static/images/ruzhu_a.png', name: '咨询师入驻' },
      { url: "/pages/ruzhu/teacher/index?parent_id=123", id: '2', icon_url: '/static/images/ruzhu_b.png', name: '名师学者入驻' },
      { url: "/pages/ruzhu/teacher/index?parent_id=103", id: '3', icon_url: '/static/images/ruzhu_c.png', name: '读书汇讲师' },
      { url: "/pages/ruzhu/teacher/index?parent_id=104", id: '4', icon_url: '/static/images/ruzhu_d.png', name: '夏令营教练' },
      { url: "/pages/ruzhu/teacher/index?parent_id=119", id: '5', icon_url: '/static/images/ruzhu_e.png', name: '群主' },
      { url: "/pages/ruzhu/jigou/index", id: '6', icon_url: '/static/images/ruzhu_f.png', name: '机构' }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
  
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
  
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
  
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
  
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  }
})